package JavaBase.Polymorphism;

public class Eagle extends Animal{
    public void eat()
    {
        System.out.println("老鹰吃小鸡。");
    }
    public void cry()
    {
        System.out.println("啾啾~~~~~~");
    }
    public void hunt()
    {
        System.out.println("老鹰捉小鸡。");
    }
}
